package br.com.basili.teste;

import java.util.ArrayList;
import java.util.Date;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import br.com.basili.entity.Researcher;
import br.com.basili.entity.Type;

@SessionScoped
@ManagedBean
public class TesteJSF 
{
	private ArrayList<Researcher> listResearcher;
	private ArrayList<Researcher> listResearcher2;
	private Researcher            researcher;
	private Date                  data;
	private Type                  tipo;
	
	public TesteJSF( )
	{
		listResearcher = new ArrayList<Researcher>( );
		
		listResearcher2 = new ArrayList<Researcher>( );
		
		listResearcher.add(new Researcher("Gilson", "8446-6885","gil85@email.com"));
		listResearcher.add(new Researcher("Ramon", "8446-6885","gil85@email.com"));
		
	}
	public ArrayList<Researcher> getListResearcher() {
		return listResearcher;
	}
	public void setListResearcher(ArrayList<Researcher> listResearcher) {
		this.listResearcher = listResearcher;
	}
	public ArrayList<Researcher> getListResearcher2() {
		return listResearcher2;
	}
	public void setListResearcher2(ArrayList<Researcher> listResearcher2) {
		this.listResearcher2 = listResearcher2;
	}
	public Researcher getResearcher() {
		return researcher;
	}
	public void setResearcher(Researcher researcher) {
		this.researcher = researcher;
	}
	public Date getData() {
		return data;
	}
	public void setData(Date data) {
		this.data = data;
	}
	
}
